AppWebsiteForm = Ext
		.extend(
				Ext.Window,
				{
					formPanel : null,
					constructor : function(a) {
						Ext.applyIf(this, a);
						this.initUIComponents();
						AppWebsiteForm.superclass.constructor.call(this, {
							layout : "fit",
							items : this.formPanel,
							border : false,
							modal : true,
							plain : true,
							id : "AppWebsiteForm",
							title : "网站设置详细信息",
							iconCls : "menu-website",
							width : 600,
							height : 600,
							minWidth : 300,
							minHeight : 200,
							bodyStyle : "padding:5px;",
							buttonAlign : "center",
							buttons : this.buttons
						});
					},
					initUIComponents : function() {
						this.formPanel = new Ext.FormPanel( {
							url : __ctxPath + "/system/listAppWebsite.do"
									+ this.isCopy,
							layout : "form",
							id : "AppWebsiteForm",
							frame : true,
							defaults : {
								widht : 400,
								anchor : "100%,100%"
							},
							formId : "WebsiteId",
							defaultType : "textfield",
							items : [ {
								name : "appWebsite.WebsiteId",
								id : "WebsiteId",
								xtype : "hidden",
								value : this.WebsiteId == null ? "" : this.WebsiteId
							}, {
								fieldLabel : "网站名称",
								name : "appWebsite.WebsiteName",
								id : "WebsiteName"
							}, {
								fieldLabel : "网站名称IP",
								name : "appWebsite.WebsiteIp",
								id : "WebsiteIp"
							},{
								fieldLabel : "网站版权信息",
								xtype : "textarea",
								name : "appWebsite.copyright",
								id : "copyright"
							}, {
								fieldLabel : "默认关键词",
								name : "appWebsite.keyword",
								id : "keyword"
							}, {
								fieldLabel : "站点描述",
								xtype : "textarea",
								name : "appWebsite.description",
								id : "description"
							}, {
								fieldLabel : "网站备案号",
								name : "appWebsite.backupNumber",
								id : "backupNumber"
							},{
								fieldLabel : "系统禁用用词",
								name : "appWebsite.systemForbidden",
								id : "systemForbidden"
							},
							  ]
						});
					}
				});